//
//  CityPicker.h
//  YaoHeAPP
//
//  Created by mac on 15/12/14.
//  Copyright © 2015年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CityPicker : UIView<UIPickerViewDataSource,UIPickerViewDelegate,UIGestureRecognizerDelegate>
{
    UIPickerView  *_pickerView;
    UIView *_bgView;
    NSString*_stringRow;//将选中字符串拼接成完整的一个字
    
    //城市选择有关的
    NSMutableArray*_shengArray;
    NSMutableArray*_cityArray;
    NSString*city_Name,*sheng_Name;
    NSString* city_ID,*sheng_ID;
    
    NSMutableDictionary*_shengCitydic;
}
@property (nonatomic, strong) void(^SelectBlock)(NSString *selectIndexStr);
@property (nonatomic, strong) NSString *titleStr;

+(NSString*)returnStrView:(UIView*)selfView  withTitle:(NSString*)titleString;


//大小
- (id)initWithFrame:(CGRect)frame;
//展示选择器
+(void)showPickerView:(UIView*)selfView  withTitle:(NSString*)titleString  andSelectBlock:(void(^)(NSString*))selectRow ;


@end
